home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 176-200 / 183 / mklib / edlib / iscsym.c < prev    next >
C/C++ Source or Header  |  1995-03-13  |  299b  |  18 lines

  1. /* edlib  version 1.0 of 04/08/88 */
  2. /*
  3.     this function returns a non-zero number if the character given
  4.     is suitable for the a character of an identifier
  5. */
  6. #include <ctype.h>
  7. #define NULL 0
  8.  
  9. int iscsym(c)
  10. char c;
  11. {
  12.     if ( iscsymf(c) || isdigit(c) )
  13.         return(c);
  14.  
  15.     return(NULL);
  16. }
  17.  
  18.